import request from '@/utils/request'

// 查询翻译词条操作历史列表
export function listTranslateOperHistory(query) {
  return request({
    url: '/business/TranslateOperHistory/list',
    method: 'get',
    params: query
  })
}

// 查询翻译词条操作历史详细
export function getTranslateOperHistory(translateOperHistoryId) {
  return request({
    url: '/business/TranslateOperHistory/' + translateOperHistoryId,
    method: 'get'
  })
}

// 新增翻译词条操作历史
export function addTranslateOperHistory(data) {
  return request({
    url: '/business/TranslateOperHistory',
    method: 'post',
    data: data
  })
}

// 修改翻译词条操作历史
export function updateTranslateOperHistory(data) {
  return request({
    url: '/business/TranslateOperHistory',
    method: 'put',
    data: data
  })
}

// 删除翻译词条操作历史
export function delTranslateOperHistory(translateOperHistoryId) {
  return request({
    url: '/business/TranslateOperHistory/' + translateOperHistoryId,
    method: 'delete'
  })
}
